package com.yg.config;

import org.springframework.beans.factory.annotation.Value;

import lombok.Data;

import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 配置文件,读取路径
 */
@Data
@Component
@PropertySource(value = "classpath:application.yml")
public class FilePathConfig {
    //用户下载填数据模板
    @Value("${file-path-config.readExcelTemplateFilePath}")
    public String readExcelTemplateFilePath;
    //导出数据模板
    @Value("${file-path-config.writeExcelFilePath}")
    public String writeExcelFilePath;
}